스피드 멱 codeforces_678D. Iterated Linear Function(Quick 멱) D. Iterated Linear Function time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Consider a linear function f(x) = Ax + B. Let's define g(0)(x) = x and g(n)(x) = f(... cf스피드 멱
codeforces_678D. Iterated Linear Function(Quick 멱) D. Iterated Linear Function time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Consider a linear function f(x) = Ax + B. Let's define g(0)(x) = x and g(n)(x) = f(... cf스피드 멱